package chp02;

public class Test12 {
    public static void main(String[] args) {
        //关系运算符
        System.out.print("2 > 1:");
        System.out.println(2 > 1);
        System.out.print("2 < 1:");
        System.out.println(2 < 1);
        System.out.print("2 >= 1:");
        System.out.println(2 >= 1);
        System.out.print("2 <= 1:");
        System.out.println(2 <= 1);
        System.out.print("2 == 1:");
        System.out.println(2 == 1);
        System.out.print("2 != 1:");
        System.out.println(2 != 1);
    }
}
